package com.ychp.user.dao;

import com.ychp.common.mybatis.MybatisDao;
import com.ychp.user.model.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Desc:
 * Author: <a href="ychp@terminus.io">应程鹏</a>
 * Date: 16/11/7
 */
@Repository
public interface UserDao extends MybatisDao<User> {

    public User loginBy(@Param("loginName") String loginName);
}
